package com.yxdj.service.api.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yxdj.common.core.web.domain.BaseEntity;
import lombok.Data;

/**
 * 服务项目表
 * @TableName service_item
 */
@TableName(value ="service_item")
@Data
public class ServiceItem extends BaseEntity {
    /**
     * 服务项目ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 子分类ID
     */
    private Integer subCategoryId;

    /**
     * 子分类名
     */
    @TableField(exist = false)
    private String subCategoryName;

    /**
     * 服务名称
     */
    private String serviceName;

    /**
     * 服务图片路径
     */
    private String serviceImage;
}
